Naming and Numbers
As you create objects in GenerativeComponents you give them a unique name. GenerativeComponents will do this automatically for you by giving the object the name of its type along with a number. For instance:
You can, and should, give objects meaningful names of your own, following a few simple rules:
- The name must begin with a letter
- It may not contain spaces or special characters
- Names are case-sensitive
A common practice is to use join words together without spaces, called camel case:
You can also name your own functions, generated node types and more.
Remember, case matters, that is GenerativeComponents is case-sensitive.
Numbers
You can use several different types of numbers in GenerativeComponents. You will use numbers to specify the locations of features and for any expressions you need.
Integer
A whole number:
- 12
- 378
- -14
- 1000
Double
Doubles are real numbers. Double is short for a double-precision floating point. For instance:
- 43.0
- 12.345
- -34.667
- 1.222E3
- 0.347E-2